package com.cola.programmer.service.admin.impl;

import com.cola.programmer.dao.admin.UserDao;
import com.cola.programmer.entity.admin.User;
import com.cola.programmer.service.admin.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Grup:com.cola.programmer.service.admin.impl
 * @Auther:cola
 * @Data:2021/5/23-2021-05-11:32
 * @version:1.0
 * user用户serviceimpl
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public User findByUsername(String username) {
        return userDao.findByUsername(username);
    }
}
